package pojo;

import com.sun.org.apache.xpath.internal.operations.Bool;

import java.io.Serializable;
import java.sql.Timestamp;

public class Orders implements Serializable {
    private Integer ord_no;
    private Integer bus_no;
    private Integer u_no;
    private Integer del_no;
    private Timestamp ord_dtime;
    private Timestamp arr_dtime;
    private Float ord_price;
    private Timestamp st_time;
    private Boolean st_del;
    private Boolean fi_del;

    public Orders() {
    }

    public Orders(Integer ord_no, Integer bus_no, Integer u_no, Integer del_no, Timestamp ord_dtime, Timestamp arr_dtime, Float ord_price, Timestamp st_time, Boolean st_del, Boolean fi_del) {
        this.ord_no = ord_no;
        this.bus_no = bus_no;
        this.u_no = u_no;
        this.del_no = del_no;
        this.ord_dtime = ord_dtime;
        this.arr_dtime = arr_dtime;
        this.ord_price = ord_price;
        this.st_time = st_time;
        this.st_del = st_del;
        this.fi_del = fi_del;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "ord_no=" + ord_no +
                ", bus_no=" + bus_no +
                ", u_no=" + u_no +
                ", del_no=" + del_no +
                ", ord_dtime=" + ord_dtime +
                ", arr_dtime=" + arr_dtime +
                ", ord_price=" + ord_price +
                ", st_time=" + st_time +
                ", st_del=" + st_del +
                ", fi_del=" + fi_del +
                '}';
    }

    public Integer getOrd_no() {
        return ord_no;
    }

    public void setOrd_no(Integer ord_no) {
        this.ord_no = ord_no;
    }

    public Integer getBus_no() {
        return bus_no;
    }

    public void setBus_no(Integer bus_no) {
        this.bus_no = bus_no;
    }

    public Integer getU_no() {
        return u_no;
    }

    public void setU_no(Integer u_no) {
        this.u_no = u_no;
    }

    public Integer getDel_no() {
        return del_no;
    }

    public void setDel_no(Integer del_no) {
        this.del_no = del_no;
    }

    public Timestamp getOrd_dtime() {
        return ord_dtime;
    }

    public void setOrd_dtime(Timestamp ord_dtime) {
        this.ord_dtime = ord_dtime;
    }

    public Timestamp getArr_dtime() {
        return arr_dtime;
    }

    public void setArr_dtime(Timestamp arr_dtime) {
        this.arr_dtime = arr_dtime;
    }

    public Float getOrd_price() {
        return ord_price;
    }

    public void setOrd_price(Float ord_price) {
        this.ord_price = ord_price;
    }

    public Timestamp getSt_time() {
        return st_time;
    }

    public void setSt_time(Timestamp st_time) {
        this.st_time = st_time;
    }

    public Boolean getSt_del() {
        return st_del;
    }

    public void setSt_del(Boolean st_del) {
        this.st_del = st_del;
    }

    public Boolean getFi_del() {
        return fi_del;
    }

    public void setFi_del(Boolean fi_del) {
        this.fi_del = fi_del;
    }
}
